Re: table bg color?

by Nick Harrison <nick(at)iii.co.uk>

 Date:  Tue, 14 Apr 1998 17:40:11 +0100
 To:  hwg-graphics(at)mail.hwg.org
 References: 
  todo: View Thread, Original
At 4:40 pm +0100 14/4/98, James Smith wrote:
>>
>> It is necessary to do this with a background graphic, if you want the
>> color to go all the way to the top and to the left in all browsers,
>> because, in some, notably Netscape, any image applied within the BODY
>> container (not in the tag itself), or graphic or color within a table
>> cell, there will be a gap on the top and on the left of some six to
>> nine pixels.
>>
>You can minimise this border in Netscape 4.0 or higher. If you include
>marginheight=0 and marginwidth=0 in the <body> tag as well as what ever
>is required for MSIE - this is an undocumented feature - I don't know of
>anywhere where it says you can use these tags here - even all the books
>that are specifically netscape 4 orientated.
>
>Obviously this won't work with Netscape 3 - although you can achieve
>this if you force a new window to open using Javascript, or use frames.
>
>Baggy

Yes, this does work in both Netscape3,4 and MSIE3,4. For example:

<body marginheight=0 marginwidth=0 topmargin=0 leftmargin=0>

although pages need to be framed for Netscape3 (i think)

Rgds
Nick.

HWG: hwg-graphics mailing list archives, maintained by Webmasters @ IWA